package com.mall.mymall.dao.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 十里坡
 * @since 2025-03-14
 */
public class ItemSimilarity implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "item1_id", type = IdType.AUTO)
    private Integer item1Id;

    private Integer item2Id;

    private BigDecimal similarityScore;


    public Integer getItem1Id() {
        return item1Id;
    }

    public void setItem1Id(Integer item1Id) {
        this.item1Id = item1Id;
    }

    public Integer getItem2Id() {
        return item2Id;
    }

    public void setItem2Id(Integer item2Id) {
        this.item2Id = item2Id;
    }

    public BigDecimal getSimilarityScore() {
        return similarityScore;
    }

    public void setSimilarityScore(BigDecimal similarityScore) {
        this.similarityScore = similarityScore;
    }

    @Override
    public String toString() {
        return "ItemSimilarity{" +
        "item1Id=" + item1Id +
        ", item2Id=" + item2Id +
        ", similarityScore=" + similarityScore +
        "}";
    }
}
